package com.chixing.day_07_prototype.product;

public class JobTest {
    public static void main(String[] args) throws CloneNotSupportedException {
        Job job = new Job();
        Company company = new Company(101,"腾讯","科技公司","深圳",12345L);
        job.setJobId(111);
        job.setCompany(company);
        job.setJobName("前端工程师");
        job.setMinWage(8000.0);
        job.setMaxWage(12000.0);
        job.setEdu("大学");
        job.setWorkCity("苏州");

         //对job进行克隆
        Job cloneJob = job.clone();
        System.out.println(job);
        System.out.println(cloneJob);
    }
}
